package com.sinosoft.app.entrust.entity;

   /**
    * @ClassName EntrustOrder 实体类
    * @date 2017-2-20 
    * @author shangxp
    */ 

public class EntrustOrder {
//以下为循环实体类的代码
    //
    private int id;
    //委托号
    private String entrustcode;
    //被委托人ID
    private int sysUserId;
    //被委托人
    private String mandatary;
    //委托资金ID
    private int entrustAssetsId;
    //委托资金
    private String assets;
    //申请委托时间
    private String applytime;
    //委托时间
    private String entrusttime;
    //到期时间
    private String endtime;
    //委托状态，0正在申请委托，1已委托，2委托结束
    private String entrustate;

	public EntrustOrder(){};
	
	public EntrustOrder(
    		int id,
    		String entrustcode,
    		int sysUserId,
    		String mandatary,
    		int entrustAssetsId,
    		String assets,
    		String applytime,
    		String entrusttime,
    		String endtime,
    		String entrustate
		){
			super();
    		this.id=id;	
    		this.entrustcode=entrustcode;	
    		this.sysUserId=sysUserId;	
    		this.mandatary=mandatary;	
    		this.entrustAssetsId=entrustAssetsId;	
    		this.assets=assets;	
    		this.applytime=applytime;	
    		this.entrusttime=entrusttime;	
    		this.endtime=endtime;	
    		this.entrustate=entrustate;	
	};

    public int getId(){
        return id;
    }
    public void setId (int id){
        this.id = id;
    }
    public String getEntrustcode(){
        return entrustcode;
    }
    public void setEntrustcode (String entrustcode){
        this.entrustcode = entrustcode;
    }
    public int getSysUserId(){
        return sysUserId;
    }
    public void setSysUserId (int sysUserId){
        this.sysUserId = sysUserId;
    }
    public String getMandatary(){
        return mandatary;
    }
    public void setMandatary (String mandatary){
        this.mandatary = mandatary;
    }
    public int getEntrustAssetsId(){
        return entrustAssetsId;
    }
    public void setEntrustAssetsId (int entrustAssetsId){
        this.entrustAssetsId = entrustAssetsId;
    }
    public String getAssets(){
        return assets;
    }
    public void setAssets (String assets){
        this.assets = assets;
    }
    public String getApplytime(){
        return applytime;
    }
    public void setApplytime (String applytime){
        this.applytime = applytime;
    }
    public String getEntrusttime(){
        return entrusttime;
    }
    public void setEntrusttime (String entrusttime){
        this.entrusttime = entrusttime;
    }
    public String getEndtime(){
        return endtime;
    }
    public void setEndtime (String endtime){
        this.endtime = endtime;
    }
    public String getEntrustate(){
        return entrustate;
    }
    public void setEntrustate (String entrustate){
        this.entrustate = entrustate;
    }

	@Override
	public String toString() {
		return "EntrustOrder ["
		+"  id=" + id 
		+"  entrustcode=" + entrustcode 
		+"  sysUserId=" + sysUserId 
		+"  mandatary=" + mandatary 
		+"  entrustAssetsId=" + entrustAssetsId 
		+"  assets=" + assets 
		+"  applytime=" + applytime 
		+"  entrusttime=" + entrusttime 
		+"  endtime=" + endtime 
		+"  entrustate=" + entrustate 
		+"]";		
	}
}